package com.example.api.websocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

@EnableWebSocket //TODO 开启WebSocket功能，测试一下是否必须配置
@SpringBootApplication
//@ServletComponentScan //扫描系统中的过滤器
public class WebSocketApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebSocketApplication.class, args);
    }

}
